@charset "UTF-8";

@import "iconfont";
@import "public";
@import "./components/swiper/swiper.min";
@import "./components/swiper/animate.min";

* {
    /*-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;*/
    margin: 0;
    padding: 0;
}

html {
    -ms-touch-action: none;
    height: 100%;
}

body {
    height: 100%;
    font-size: 12px;
    font-family: ubuntu, helvetica, arial;
    overflow: hidden; /* this is important to prevent the whole page to bounce */
    
}

#header {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    line-height: 65px;
    background: black;
    color: white;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

#wrapper {
    position: absolute;
    z-index: 1;
    top: 65px;
    bottom: 58px;
    left: 0px;
    width: 100%;
    /*background:#eee;*/
    background:url(../images/bg-1.png) no-repeat center top;
    overflow: hidden;
}

#scroller {
    position: absolute;
    z-index: 1;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    width: 100%;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none;
}

#scroller ul {
    list-style: none;
    padding: 0px;
    margin: 0;
    width: 100%;
    text-align: left;
    background-color: #fafafa;
}

li.skill {
    padding: 0 10px;
    height: 100px;
    width: 100%;
    border-bottom: 1px solid #eee; 
    font-size: 14px;
    display: flex;
    align-items: center;
    img{
        display:block;
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }
    div{
        flex:1;
        height: 80px;
        display: flex;
        flex-direction: column;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    h3{
        margin: 5px 0px;
    }
    p{
        font-size: 12px;
    }
}

li.project{
//  display: inline-block;  /* 解决上下margin重叠问题  */
    margin:4%;
    padding:1% 0px;
    width: 92%;
    box-shadow: 0px 2px 5px #888888;
    h3 {
       margin: 5px; 
    }
    h4 {
       margin: 5px; 
       font-weight: normal;
       color: #4C555A;
    }
    img{
        width: 100%;
    }
    p{
        text-indent:25px;
        margin: 5px; 
        color: #4C555A;
    }
}
div.me{
    width: 100%;
    height: 100%;
    div{
        width: 100%;
        text-align: center;
        img{
           box-shadow: 0px 2px 5px #888888; 
        }
    }
    
    h2{margin: 20px;}
    p{
        margin: 20px;
    }
}
.scan{
    font-size: 16px;
    margin-top: 20px;
    padding-bottom: 20px;
}
/* swiper */
.swiper-container {
        width: 100%;
        height: 100%;
//      padding: 50px 10px;
//      background: black;
        box-sizing: border-box;
    }
.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
}
//.bounceIn img{
//  top:100px;
//  position: absolute;
.slide-1{
    left: 50%;
    top:100px;
    position: absolute;
    .triangle-1{
        margin-left: -112px; 
    }
    .triangle-2{
        margin-top: 15px;
        margin-left: -115px;
    }
}
.triangle-1{ 
    width: 224px;
    height: 112px;
}
.triangle-2{
    width: 230px;
    height: 112px;
}
.resume{
    width: 110px;
    color:rgb(78, 221, 209);
    position: absolute;
    left: 50%;
    margin-left: -55px;
    font-size: 25px;
    top: 50%;
    margin-top: -50px;
    p{
        text-align: center;
    }
}

.slide-2{
    left:0px;
    top:0px;
    position: absolute;
    .triangle-1{
        margin-top: -15px;
        margin-left: 4px;
    }
}

.line-1,.line-2,.line-3{
    position: absolute;
    img{
        width: 180px;
        height: 180px;
    }
}

.line-1{
    top: -20px;
    left: 85px;
}
.line-2{
    top: 50%;
    margin-top: -100px;
    left: 0px;
}

.line-3{
    top: 50%;
    margin-top: 80px;
    left: -50px;
}
.circle{
    position: absolute;
    top: 50%;
    margin-top: 70px;
    left: 120px;
    img{
        width: 22px;
        height: 22px;
    }
}

.plane{
    position: absolute;
    top: 50%;
    margin-top: -140px;
    left: 180px;
}
.wirte{
    position: absolute;
    top: 50%;
    margin-top: 100px;
    left: 135px;
    color: white;
    font-size: 16px;
}
.boom{
    position: absolute;
    right: 0px;
    margin: 50px;
    img{
        @include animation(boom,0.5);
    }
} 
@-webkit-keyframes boom {
      0%{
        transform:rotate(40deg) scale(1);
         }
      50%{
        transform:rotate(45deg) scale(1.2); 
        }
      100%{
        transform:rotate(40deg) scale(1);
         }  
}

.wall{
    position: absolute;
    top: 20%;
    left: 20%;
    color: #ffce2d;
    font-size: 22px;
    .div.ani{
        
    }
}
.wait{
    position: absolute;
    left: 30%;
    top: 40%;
    font-size: 18px;
    color: #f9a00c;
}

.fist{
    position: absolute;
    bottom: 0px;
    left: 50%;
}

.you{
    text-align: center;
    color: white;
    font-size: 22px;
    font-family: serif;
    margin-top: 15px;
}
.moon{
    position: absolute;
    left: 50%;
    height: 26px;
    width: 26px;
//  margin-left: -13px;
    top: 20%;
    @include animation(moon,3);
}
.p1,.p2,.p3,.p4{
    position: absolute;
    text-align: center;
    color: white;
    font-family:serif;
    font-size: 22px;
}
.p1,.p3{
    left:14%;
}
.p2,.p4{
    right:14%;
}
.p1{
    top:25%;
}
.p2{
    top:32%;
}
.p3{
    top:40%;
}
.p4{
    top:47%;
}
@-webkit-keyframes moon {
      0%{
        transform:rotate(0deg) scale(1);
         }
      25%{
        transform:rotate(30deg) scale(1.2); 
        }
      50%{
        transform:rotate(0deg) scale(1);
         } 
      75%{
        transform:rotate(-30deg) scale(1.2);
         }
      100%{
        transform:rotate(0deg) scale(1);
     }   
}

img.work{
    width: 100%;
    position: absolute;
    bottom: 0px;
}
p.work{
    text-align: center;
    font-family:serif;
    font-size: 22px;
    margin-top: 10%;
}

.enter{
    position: absolute;
    top: 20%;
//  margin-top: 50px;
    left: 50%;
    margin-left: -60px;
    p{
//      border: 1px solid #fb0ea1;
//      padding: 5px;
        color:#005cbf;
        font-size: 30px;
        text-align: center;
    }
    
}


#hide{
    position: absolute;
    width: 100%;
    height: 100%;
}
 
#main{
    height: 100%;
    width: 100%;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:-o-flex;
    display: flex;
    flex-direction: column;
}

//
//#iframe{
//  @include flex();
//  
//
//  width: 100%;
//  
//}


#footer {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 48px;
    background: #f5f5f5;
    padding:5px 0px;
    border-top: 1px solid #eee;
    
}

#footer ul{
    width: 100%;
    height: 48px;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:-o-flex;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
#footer ul>li{  
    list-style: none;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:-o-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#footer i{
    font-size: 30px;
    font-style: normal;
}
#footer span{
    font-size:12px;
}
.action{
    color: green; 
}